<!--{*
/**
* @author Bimal Poudel
* @copyright since 2006, Bimal Poudel
* @package Smarty Framework
* @support http://www.odesk.com/users/~~dd91d11caed0cdce
* @contact http://www.sanjaal.com
* @company Sanjaal Corps
*/

Created on: 2012-04-08 12:50:53 506
*}-->

<div class="top-action">
	<ul class="links">
		<li><a href="users-list.php">List Users</a></li>
	</ul>
</div>

<div class="form-wrap">
<form id="users-add-form" name="users-add-form" method="post" action="users-add.php" enctype="multipart/form-data">
<table class="data-editor">
	
	
	<tr class="{cycle values='A,B'}">
		<td class="attribute">Full Name: <span class="required">*</span></td>
		<td>
			<input type="text" name="users[full_name]" value="{$users.full_name|utf8}" class="input" id="users-full_name" />
			<span class="form-hints">Full name</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Name: <span class="required">*</span></td>
		<td>
			<input type="text" name="users[user_name]" value="{$users.user_name|utf8}" class="input" id="users-user_name" />
			<span class="form-hints">Login username (force to be email address)</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Password: <span class="required">*</span></td>
		<td>
			<input type="password" name="users[user_password]" value="{$users.user_password|utf8}" class="input" id="users-user_password" />
			<span class="form-hints">Login password</span>
		</td>
	</tr>

	
	<tr class="{cycle values='A,B'}">
		<td class="attribute">&nbsp;</td>
		<td>
			<input type="text" name="email" value="" class="vanish" />
			<input type="text" name="is_spam" value="" class="vanish" />
			<!--{* 100% sure, only spammers fill these fields, Leave it blank/CSS hidden. *}-->
			
			<input type="hidden" name="protection_code" value="{$protection_code}" />
			<input type="hidden" name="add-action" value="Add Users" />
			<input type="submit" name="submit-button" class="submit" value="Add" />
			<a href="{url::last_page('users-list.php')}" class="button-cancel">Cancel</a>
		</td>
	</tr>
</table>
</form>
</div>
<!-- End of administrators users Add -->

<!-- Add validation -->
<script type="text/javascript" src="js/validator/gen_validatorv31.js"></script>
<script type="text/javascript" src="js/validators/users/add.js"></script>

<!-- Rich Editor: Remove if not necessary. Or, use different .js files -->
<script type="text/javascript" src="js/tinymce/tiny_mce.js"></script>
<script type="text/javascript" src="js/tinymce-textareas.js"></script>

<!-- End of users Add -->